package com.ll.wechat.base.utils;

import org.jivesoftware.smack.AbstractXMPPConnection;
import org.jivesoftware.smack.PacketListener;
import org.jivesoftware.smack.filter.AndFilter;
import org.jivesoftware.smack.filter.PacketFilter;
import org.jivesoftware.smack.filter.PacketTypeFilter;
import org.jivesoftware.smack.packet.Presence;

import com.ll.wechat.base.app.User;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class PresenceService extends Service {  
	  
    private AbstractXMPPConnection cc = User.getInstance().getConnection();// 保存了当前的链接 XMPPConnection
  
    @Override  
    public IBinder onBind(Intent arg0) {  
        return null;  
    }  
  
    @Override  
    public void onCreate() {  
        super.onCreate();  
    }  
  
    @Override  
    public void onDestroy() {  
        super.onDestroy(); 
    }  
  
    @Override  
    public int onStartCommand(Intent intent, int flags, int startId) {  
        return super.onStartCommand(intent, flags, startId);  
    }  
}  